package com.zelix;

import java.util.HashSet;

abstract class dq
{

    cy a;

    dq(cy cy1)
    {
        a = cy1;
    }

    abstract String a(String s, qy qy1, fy fy1, HashSet hashset, re re1, dd dd1);

    final boolean a(String s, String s1, qy qy1, fy fy1, HashSet hashset, re re1, dd dd1)
    {
        String s2 = s1 + (s1.length() <= 0 ? "" : "/") + s;
        if(qy1.b(s2))
            return false;
        if(re1 != null && re1.o(s2))
            return false;
        if(re1 != null && re1.n(s2))
            return false;
        if(fy1.a(s1, s))
            return false;
        if(hashset != null && hashset.contains(s))
            return false;
        return !dd1.d(s2) || !a.b(s2);
    }
}